package com.qingzhuge.log.entity;

import com.qingzhuge.entity.BasePkLongEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.Table;


/**
 * @author : zero.xiao
 * @description : 系统日志
 * @date :2018/6/8 0008 下午 14:57
 * @modified :
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "sys_log")
public class SysLog extends BasePkLongEntity {
	private static final long serialVersionUID = 3074396819884203899L;
	/**用户名*/
	private String username;
	/**用户操作*/
	private String operation;
	/**提示信息*/
	private String msg;
	/**信息码*/
	private Integer code;
	/**请求方法*/
	private String method;
	/**请求参数*/
	private String params;
	/**执行时长(毫秒)*/
	private Long time;
	/**IP地址*/
	private String ip;
}
